package com.dingreading.cloud.admin.service;

import com.alibaba.fastjson.JSONObject;
import com.dingreading.cloud.admin.entity.Corporations;
import com.dingreading.cloud.common.util.PageDto;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface CorporationsService extends IService<Corporations> {

    PageDto<JSONObject> pageList(PageUtil pageUtil, String keyword, Integer contractStatus);

    Corporations getByUid(String uid);

    List<Corporations> getByKeyword(String keyword);

    Corporations getLastUid(String yyMm);

    boolean existUid(String uid);
}
